<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>展览区 - 医学标本展览馆</title>
    <link rel="stylesheet" href="styles/main.css" />
    <link
      href="https://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet"
    />
  </head>
  <body>
    <!-- 顶部通栏 -->
    <header class="header">
      <div class="container header-content">
        <div class="logo">
          <img
            src="https://via.placeholder.com/200x60/5a8dee/ffffff?text=医学标本展览馆"
            alt="医学标本展览馆"
            height="40"
          />
        </div>
      </div>
    </header>

    <!-- 主要内容区 -->
    <main class="main-content">
      <!-- 分类筛选栏 -->
      <section class="category-filter">
        <div class="container">
          <div class="category-scroll">
            <button class="category-item active">全部</button>
            <button class="category-item">人体解剖</button>
            <button class="category-item">胚胎学</button>
            <button class="category-item">病理学</button>
            <button class="category-item">组织学</button>
            <button class="category-item">寄生虫学</button>
          </div>
        </div>
      </section>

      <!-- 标本网格列表 -->
      <section class="specimen-grid">
        <div class="container">
          <div class="grid-container">
            <!-- 标本卡片 -->
            <div class="specimen-card">
              <div class="specimen-image">
                <img
                  src="https://via.placeholder.com/800x450/5a8dee/ffffff?text=人体骨骼标本"
                  alt="人体骨骼标本"
                />
              </div>
              <div class="specimen-info">
                <h3>人体骨骼标本</h3>
                <p>完整展示人体骨骼系统，包含206块骨骼的精细结构</p>
              </div>
            </div>
            <!-- 更多标本卡片 -->
            <div class="specimen-card">
              <div class="specimen-image">
                <img
                  src="https://via.placeholder.com/800x450/4caf50/ffffff?text=心脏解剖标本"
                  alt="心脏解剖标本"
                />
              </div>
              <div class="specimen-info">
                <h3>心脏解剖标本</h3>
                <p>展示心脏内部结构，清晰呈现心房心室构造</p>
              </div>
            </div>
            <div class="specimen-card">
              <div class="specimen-image">
                <img
                  src="https://via.placeholder.com/800x450/5a8dee/ffffff?text=大脑切片标本"
                  alt="大脑切片标本"
                />
              </div>
              <div class="specimen-info">
                <h3>大脑切片标本</h3>
                <p>展示大脑不同区域的显微结构特征</p>
              </div>
            </div>
            <!-- 可以继续添加更多标本卡片 -->
          </div>
        </div>
      </section>

      <!-- 悬浮筛选按钮 -->
      <button class="floating-filter-btn">
        <span class="material-icons">filter_list</span>
      </button>
    </main>

    <!-- 底部导航栏 -->
    <nav class="nav-bar">
      <a href="index.html" class="nav-item">
        <span class="material-icons">home</span>
        <span>首页</span>
      </a>
      <a href="exhibition.html" class="nav-item active">
        <span class="material-icons">museum</span>
        <span>展览</span>
      </a>
      <a href="booking.html" class="nav-item">
        <span class="material-icons">event</span>
        <span>预约</span>
      </a>
      <a href="profile.html" class="nav-item">
        <span class="material-icons">person</span>
        <span>我的</span>
      </a>
    </nav>

    <style>
      /* 顶部通栏样式 */
      .header {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: var(--spacing-md) 0;
        box-shadow: var(--card-shadow);
      }

      .header-content {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      /* 分类筛选栏样式 */
      .category-filter {
        padding: var(--spacing-md) 0;
        background: white;
        box-shadow: var(--card-shadow);
        position: sticky;
        top: 0;
        z-index: 100;
      }

      .category-scroll {
        display: flex;
        gap: var(--spacing-md);
        overflow-x: auto;
        padding: var(--spacing-sm) 0;
        scrollbar-width: none;
      }

      .category-scroll::-webkit-scrollbar {
        display: none;
      }

      .category-item {
        padding: var(--spacing-sm) var(--spacing-lg);
        border: none;
        background: none;
        color: var(--text-secondary);
        font-size: 14px;
        cursor: pointer;
        position: relative;
        white-space: nowrap;
      }

      .category-item.active {
        color: var(--primary-color);
      }

      .category-item.active::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--primary-gradient);
      }

      /* 标本网格样式 */
      .specimen-grid {
        padding: var(--spacing-lg) 0;
      }

      .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
      }

      .specimen-card {
        background: white;
        border-radius: var(--border-radius-md);
        overflow: hidden;
        box-shadow: var(--card-shadow);
        transition: transform 0.3s ease;
      }

      .specimen-card:hover {
        transform: scale(1.02);
      }

      .specimen-image {
        aspect-ratio: 16/9;
        overflow: hidden;
      }

      .specimen-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .specimen-info {
        padding: var(--spacing-md);
      }

      .specimen-info h3 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: var(--spacing-xs);
      }

      .specimen-info p {
        font-size: 12px;
        color: var(--text-secondary);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      /* 悬浮筛选按钮 */
      .floating-filter-btn {
        position: fixed;
        right: var(--spacing-lg);
        bottom: 80px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--primary-gradient);
        color: white;
        border: none;
        box-shadow: var(--card-shadow);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .floating-filter-btn:hover {
        transform: scale(1.1);
      }

      /* 响应式调整 */
      @media (max-width: 768px) {
        .grid-container {
          grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
          gap: var(--spacing-md);
        }

        .floating-filter-btn {
          right: var(--spacing-md);
          bottom: 70px;
        }
      }
    </style>
  </body>
</html>
